{ include file='themes/pdf.tpl' }
{ include file='view/inc/firstPdf.tpl' }

<page backtop="20mm" backbottom="20mm" backleft="10mm" backright="10mm">
    <page_header>
        <h1>Liste des départements</h1>
    </page_header>
    <page_footer>
        MaCrise<span style="color: red;">.com</span> - Liste des départements - page [[page_cu]] sur [[page_nb]]
    </page_footer>
    <table id="listing">
        <thead>
            <tr>
                <th style="width: 350px;">Département</th>
                <th style="width: 250px;">Région</th>
            </tr>
        </thead>
        <tbody>
        { foreach from=$data item=element }
            <tr>
                <td>
                    <a href="http://{ $HTTP_HOST }/departement/{ $element.2 }-{ $element.3|replace:' ':'-' }">{ $element.3 }</a>
                </td>
                <td>{ $element.1.1 }</td>
            </tr>
        { /foreach }
        </tbody>
    </table>

</page>

{ include file='view/inc/lastPdf.tpl' }
